import _axios from './axios';

function AdminLogin() {
    return _axios({
        url: "/login",
        method: "POST",
        data: {
            phone: "13751704638",
            password: "520little"
        },
    })
}
function Adminregister(name,phone,password) {
    return _axios({
        url: "/register",
        method: "POST",
        data: {
            name,
            phone ,
            password
        },
    })
}
export  {AdminLogin,Adminregister};